package cn.iocoder.yudao.module.wms.controller.admin.doc.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 仓储单据分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DocPageReqVO extends PageParam {

    @Schema(description = "名称", example = "芋艿")
    private String name;

    @Schema(description = "编号")
    private String code;

    @Schema(description = "单据类型", example = "2")
    private String docType;

    @Schema(description = "编码前缀")
    private String docNoPrefix;

    @Schema(description = "编码类型", example = "1")
    private Integer docNoType;

    @Schema(description = "流水号位数")
    private Integer docNoLength;

    @Schema(description = "交易类型", example = "1")
    private Integer transactionType;

    @Schema(description = "控制超入")
    private Integer controlAcceptOevr;

    @Schema(description = "控制缺入")
    private Integer controlAcceptShort;

    @Schema(description = "控制超领")
    private Integer controlIssueOevr;

    @Schema(description = "控制缺领")
    private Integer controlIssueShort;

    @Schema(description = "自动审核")
    private Integer autoApprove;

    @Schema(description = "打印模板", example = "14888")
    private Long printId;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "显示顺序")
    private Integer sort;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "乐观锁")
    private Long revision;

}